<?php
class Helloworld extends CI_Controller
{
	function index()
	{
		echo("Hello, World!<br>");
		$this->load->database();
		
		$query = $this->db->query("select name from test");
		
		
		
		foreach ($query->result() as $row)
		{
			echo($row->name);
			echo("<br>");
		}
		
		echo base_url();
	}
}
?>